package org.dwell.vertx3.server;

import java.util.Random;

/**
 * Created by JianGuo on 2016/1/13.
 * <p>
 * Mapping the bus channels to constants.
 */
public class Configuration {
    public static final String REGISTER_NAME = "vertx.server." + new Random().nextInt(999);
    public static final String SERVER_ROOM = "SYSTEM";
    public static final String DEFAULT_ROOM = "Public";
    public static final String SERVER_NAME = "VERT.Y";
    public static final String SERVER_TOPIC = "Authentication Required";
   // public static final Integer LISTEN_PORT = 4000 + new Random().nextInt(2999);
    public static final Integer LISTEN_PORT = 6372;

    public static final int LOGGER_PORT = 5454;
    public static final String BUS_LOGGER = "logging.upload";
    public static final int LOG_INTERVAL = 1000;

    public static final Integer LOAD_MAX_USERS = 40;

    public static final Integer LOAD_DELTA_BUFFER = 30;

    public static final String UPSTREAM = "notify";

    public static final String DOWNSTREAM = "event";

    public static final int MAX_HISTORY = 50;

}
